home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 7
/
FM Towns Free Software Collection 7.iso
/
t_os
/
gpen32k
/
source.exe
/
LIB
/
OSRC
/
OPRINT.C
< prev
next >
Wrap
Text File
|
1993-02-26
|
525b
|
22 lines
/************************************************************
* 共通一般ライブラリー OKOME System 2 *
************************************************************/
#include <string.h>
#include <EGB.H>
#include <normlib.h>
extern char work[];
void print(int x, int y, char *p)
{
char pa[512];
EGB_textZoom( work, 0, 8, 16);
EGB_textZoom( work, 1, 16, 16);
WORD(pa ) = x;
WORD(pa + 2) = y;
WORD(pa + 4) = strlen(p);
strcpy( &(pa[6]), p );
EGB_sjisString( work, pa );
}